package com.lanou.controller;

import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.Controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author 姚云鹏
 * Create at: 2018/6/5 16:45
 */
@org.springframework.stereotype.Controller("/test")
public class TestController implements Controller {
    @Override
    public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
            throws Exception {
        System.out.println("Hello,SpringMVC!");

        return null;
    }
}
